/* #region tree */
.eleTree{
    position: relative;
}
.eleTree-hide{
    display: none;
}
.eleTree-loadData{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0px;
}
.eleTree-loadData .layui-icon{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%)  translateY(-50%);
}
.eleTree-node-content{
    position: relative;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    user-select: none;
}

.eleTree-node-content:hover,.eleTree-node-content.eleTree-node-content-active{
   background: #eef1fc;
}
.eleTree-node-content-icon .layui-icon{
    padding: 0px 3px;
    color: #c0c4cc;
    font-size: 16px;
    display: inline-block;
    transform: rotate(0deg);
    transition: transform .3s ease-in-out;
}
.eleTree-node-content-icon .layui-icon.icon-rotate{
    transform: rotate(90deg);
}
.eleTree-node-content .layui-form-checkbox[lay-skin=primary] i{
    width: 13px;
    height: 14px;
    line-height: 1.3;
}
.eleTree-node-content-label{
    padding-left: 5px;
    padding-right: 5px;
}
.eleTree-node-content-input{
    width: 80px;
    border: 1px solid #e6e6e6;
    outline: 0;
    padding: 3px 5px;
    font-size: 12px;
}
.eletreefont-special {
    padding: 0 4px;
    color: orange;
}

/* checkbox第三种状态 */
input.eleTree-hideen[type=checkbox]{
    display: none;
}
.eleTree-checkbox {
    height: auto!important;
    line-height: normal!important;
    min-height: 12px;
    border: none!important;
    margin-right: 0;
    padding-left: 18px;
    position: relative;
    display: inline-block;
}
.eleTree-checkbox i {
    left: 0;
    border: 1px solid #d2d2d2;
    font-size: 12px;
    border-radius: 2px;
    background-color: #fff;
    -webkit-transition: .1s linear;
    transition: .1s linear;
    position: absolute;
    top: -1px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    width: 13px;
    height: 14px;
    line-height: 1.3;
}
.eleTree-checkbox i:hover {
    border-color: #4785e6;
}
.eleTree-checkbox-checked i {
    border-color: #4785e6;
    background-color: #4785e6;
    color: #fff;
}
.eleTree-checkbox-line:after{
    content: "";
    position: relative;
    width: 8px;
    height: 1px;
    background-color: #fff;
    display: inline-block;
    top: -4px;
}

.eleTree-checkbox.eleTree-checkbox-disabled i{
    cursor: not-allowed;
    background-color: #f2f6fc;
    border-color: #dcdfe6;
    color: #c2c2c2;
}
.eleTree-checkbox.eleTree-checkbox-disabled i.eleTree-checkbox-line:after{
    background-color: #c2c2c2;
}
.eleTree-checkbox.eleTree-checkbox-disabled i:hover{
    border-color: #dcdfe6;
}

#tree-menu{
    margin: 0;
    padding: 2px;
    position: absolute;
    background: #f5f5f5;
    border: 1px solid #979797;
    box-shadow: 2px 2px 2px #999;
    display: none;
    z-index: 20181205;
}
#tree-menu li>a{
    display: block;
    padding: 0 1em;
    text-decoration: none;
    width: auto;
    color: #000;
    white-space: nowrap;
    line-height: 2.4em;
    text-shadow: 1px 1px 0 #fff;
    border-radius: 1px;
}
#tree-menu li>a:hover{
    background-color: #e8eff7;
    box-shadow: 0 0 2px #0a6aa1;
}
.tree-menu-bg{
    background-color: #ccc;
}
.pr-25 {
    padding-right: 25px;
}
.eleTree-node-content-diydom {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    text-align: center;
}
.layui-mylayui-tree .eleTree-node-content {
    height: 40px;
    line-height: 40px;
}
.layui-mylayui-tree .eleTree-node-content:hover,
.layui-mylayui-tree .eleTree-node-content.eleTree-node-content-active{
    background-color: #009688;
}
.layui-mylayui-tree .eleTree-node-content-label,
.layui-mylayui-tree .eleTree-node-content-icon .layui-icon {
    color: #fff;
    color: rgba(255,255,255,.7);
}
.layui-mylayui-tree .eleTree-node-content:hover .eleTree-node-content-label,
.layui-mylayui-tree .eleTree-node-content.eleTree-node-content-active .eleTree-node-content-label,
.layui-mylayui-tree .eleTree-node-content:hover .eleTree-node-content-icon .layui-icon,
.layui-mylayui-tree .eleTree-node-content.eleTree-node-content-active .eleTree-node-content-icon .layui-icon {
    color: #fff;
    opacity: 1;
}
.layui-mylayui-tree .eletreefont-special {
    color: #fff;
}
/* #endregion */